package com.su.edu.api.web;

import com.su.edu.common.model.BaseRes;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangjun
 * @since 2024/6/5 14:04
 */
@RestController
@RequestMapping("/api/v1")
public class IndexController {


    @GetMapping("/ping")
    public BaseRes<Void> ping() {
        return BaseRes.success();
    }
}
